﻿using System;
using System.Linq;
using System.Reflection;

namespace A2.ERP.Console
{
    class Program
    {
        static void Main(string[] args)
        {
            Assembly asm = Assembly.Load(@"\bin\Debug\A2.ERP.Models.dll");


            var typesToRegister = asm.GetTypes()
            .Where(type => !String.IsNullOrEmpty(type.Namespace) && type.Name != "ERP_DBEntities")
            .Select(type => type.Name)
            .ToArray();
        }
    }
}
